Trilium natively supports the following formats for both import and export.

Supported formats

To import from other applications such as OneNote, Notion and others, see Importing data from other applications.

Maximum import size

Versions prior to v0.104.0 had an upload limit of 250 MiB that could be bypassed via a TRILIUM_NO_UPLOAD_LIMIT environment variable; with v0.104.0 this limit was removed.

Nevertheless, there is still a limit for the maximum size of a single item (whether it's a File, an Attachments or even a Text note). The limit is approximately 374 MiB and it's determined by the Synchronization protocol. Attempts to import such large files will be refused.

During large imports or exports, memory consumption might spike but it will remain somewhere around the 2 gigabyte mark. Tested with a 2.4 GB database with ~21k notes.

Exporting the root note

The root note is the top-most note. Exporting it behaves just like any other note: right click on it in the Note Tree and select Export.

Starting with v0.104.0, when a root note is imported, it will be imported as a child of your existing root note. This behavior makes sure that the import cannot change or overwrite your existing notes.

You can easily move the notes onto the root using the tree's Multiple selection and delete the redundant root note.

Before After
  • root
    • one
    • two
  • root (existing)
    • root (from import)
      • one
      • two